Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Function |push

json/value::|push


Usage

|push(array, value)

Parameters

↳ array: Json (json::Json)
↳ value: Json (json::Json)

Return

↴ Json


Return array with value added at its end.

If array is not a JSON array, it is returned unchanged.